﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/UserCenterMaster.master"
    AutoEventWireup="true" CodeFile="PostEquipment.aspx.cs" Inherits="usercenter_PostEquipment" %>

<%@ Register Src="../UserControl/UserCenter/Seller/UC_PostEquipment.ascx" TagName="UC_PostEquipment"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CssLinkHolder" runat="Server">
    <link href="../themes/css/formValidator.css" type="text/css" rel="Stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHolder" runat="Server">
    <uc1:UC_PostEquipment ID="UC_PostEquipment1" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="JsHolder" runat="Server">
    <script type="text/javascript" src="../themes/scripts/formValidator-4.0.1.min.js"></script>
    
    <script type="text/javascript">
        jQuery(function () {


            jQuery.formValidator.initConfig({ submitButtonID: "btnSubmit", autoTip: false, debug: false, onSuccess: function () { return true; }, onError: function () { } });
            jQuery("#txtEquipmentName").formValidator({ onShow: " ", onFocus: " ", onCorrect: " " }).inputValidator({ min: 2, onError: "Equipment name is required" });
            jQuery("#dropType").formValidator({ onShow: " ", onFocus: " ", onCorrect: " " }).inputValidator({ min: 1, onError: "Equipment type is required" });
            jQuery("#txtQuantity").formValidator({ onShow: " ", onFocus: " ", onCorrect: " " }).inputValidator({ min: 1, onError: "Quantity is required" });
            jQuery("#txtBuyTime").formValidator({ onShow: " ", onFocus: " ", onCorrect: " " }).inputValidator({ min: 1, onError: "Buytime is required" });
            jQuery("#txtDescription").formValidator({ onShow: " ", onFocus: " ", onCorrect: " " }).inputValidator({ min: 4, onError: "Description is required" });
        })
    </script>
</asp:Content>
